package com.aaron.annotation;


import java.lang.annotation.*;

/**
 * 注解，作用是：注册服务。被其注解的类就算是Spring bean。
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Inherited
public @interface RpcService {

    // Service version, default value is empty string
    String version() default "";

    // Service group, default value is empty string
    String group() default "";

}
